package com.myt.matp.gui;

import com.myt.matp.core.Event;

public final class UISoft extends UIRow {

    private int m_Window = 0;

    protected UISoft(int id, GUI gui) {
	super(id, gui);
	// Default aspect
	setBorder(0);
    }

    public int getType() {
	return UIWidget.SOFT;
    }

    protected int typeContained() {
	return UIWidget.BUTTON;
    }

    public UIButton getButton(int id) {
	return (UIButton)get(id);
    }

    protected int getMarginWidget() {
	return getMargin();
    }
 
}